function MethodInvoker(o) {	
	this.call = function(methodName, args) {
		var str = "o." + methodName + "(";
		
		var argstr = "";
		for(var i = 0; i < args.length; i++) {
			if(i > 0) argstr += ",";
			argstr += "args["+i+"].getObject()";
		}
		
		str += argstr;
		
		str += ");";

		var ret = eval(str);
		var tret = new TypedObject(new TypeFromObject(ret), ret);
		
		return tret;
	}
}
